From: addshore Date: Thu, 19 May 2016 10:44:20 +0000 (+0100) Subject: Add @since tags to each LinkTarget method. X-Git-Tag: 1.31.0-rc.0~6869 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=995c89b0fa7b10856a2c13a416f4e4b99b637922;p=lhc%2Fweb%2Fwiklou.git Add @since tags to each LinkTarget method. All current methods were introduced in 1.27 Change-Id: I777a251bae75e5b040f0ef9f608e91022d3e70d7 --- diff --git a/includes/linker/LinkTarget.php b/includes/linker/LinkTarget.php index da48e00a99..dbd97a7a02 100644 --- a/includes/linker/LinkTarget.php +++ b/includes/linker/LinkTarget.php @@ -28,6 +28,7 @@ interface LinkTarget { /** * Get the namespace index. + * @since 1.27 * * @return int Namespace index */ @@ -35,6 +36,7 @@ interface LinkTarget { /** * Convenience function to test if it is in the namespace + * @since 1.27 * * @param int $ns * @return bool @@ -43,6 +45,7 @@ interface LinkTarget { /** * Get the link fragment (i.e. the bit after the #) in text form. + * @since 1.27 * * @return string link fragment */ @@ -50,6 +53,7 @@ interface LinkTarget { /** * Whether the link target has a fragment + * @since 1.27 * * @return bool */ @@ -57,6 +61,7 @@ interface LinkTarget { /** * Get the main part with underscores. + * @since 1.27 * * @return string Main part of the link, with underscores (for use in href attributes) */ @@ -64,8 +69,8 @@ interface LinkTarget { /** * Returns the link in text form, without namespace prefix or fragment. - * * This is computed from the DB key by replacing any underscores with spaces. + * @since 1.27 * * @return string */ @@ -75,6 +80,7 @@ interface LinkTarget { * Creates a new LinkTarget for a different fragment of the same page. * It is expected that the same type of object will be returned, but the * only requirement is that it is a LinkTarget. + * @since 1.27 * * @param string $fragment The fragment name, or "" for the entire page. * @@ -84,6 +90,7 @@ interface LinkTarget { /** * Whether this LinkTarget has an interwiki component + * @since 1.27 * * @return bool */ @@ -91,6 +98,7 @@ interface LinkTarget { /** * The interwiki component of this LinkTarget + * @since 1.27 * * @return string */